% Generate conditional distribution of fixed costs of importing, given marginal distribution of firm efficiency, using standard normal draws and parameters 

function fc = DrawFixedCostsImporting(param,V,phi)
lnphi = log(phi); % log efficiency
a1 = param.a1; a2 = param.a2; a3 = param.a3;
lnf = a1 + a2*lnphi + a3*V; % log fixed cost of importing given log efficiency and shock
fc = exp(lnf);
end